package cn.homework.service;

import cn.homework.domain.Admin;
import cn.homework.domain.Customers;

/**
 * @author ACT
 */
public interface RegisterService {

    /**
     * 注册前台用户
     * @param customers
     */
    void registerCustomer(Customers customers);

    /**
     * 判断前台用户是否存在
     * @param customers
     * @return
     */
    Customers queryCustomer(Customers customers);

    /**
     * 修改前台客户信息
     * @param customers
     * @return
     */
    Customers updateCustomer(Customers customers);

    /**
     * 判断后台用户是否存在
     * @param admin
     * @return
     */
    Admin queryAdmin(Admin admin);

    /**
     * 注册后台用户
     * @param admin
     */
    void registerAdmin(Admin admin);
}
